﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nova_MOD
{
    public class Page
    {
        /// <summary>
        /// 表名
        /// </summary>
        public string tblName
        {
            get;
            set;
        }

        /// <summary>
        /// 主键字段名
        /// </summary>
        public string fldName
        {
            get;
            set;
        }

        /// <summary>
        /// 页尺寸
        /// </summary>
        public int PageSize
        {
            get;
            set;
        }

        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex
        {
            get;
            set;
        }

        /// <summary>
        /// 返回记录总数, 非 0 值则返回
        /// </summary>
        public bool IsReCount
        {
            get;
            set;
        }

        /// <summary>
        /// 设置排序类型, 非 0 值则降序
        /// </summary>
        public bool OrderType
        {
            get;
            set;
        }


        /// <summary>
        /// 查询条件 (注意: 不要加 where)
        /// </summary>
        public string strWhere
        {
            get;
            set;
        }
    }
}